#

| Chapter 17 The SCCS Utility |

## admin

    admin [options] files

Add `files` to SCCS or change `options` of SCCS `files`.

### Options

-a`[user`|`groupid]`

  Assign `user` or `groupid` permission to make deltas; a ! before `user` or `groupid` denies permission. If no list is given, anyone has permission.

-d`flag`

  Delete `flag` previously set with -f. Applicable `flags` are:

  b

    Enable the -b option in a get command; this allows branch deltas.

  c n

    Set highest release to `n` (default is 9999).

  d n

    Set get default delta number to `n`.

  f n

    Set lowest release to `n` (default is 1).

  i[`string`]

    Treat "No id keywords (ge6)" as a fatal error. `string`, if present, forces a fatal error if keywords do not exactly match `string`. Allow multiple concurrent gets.

  l `list`

    Releases in `list` cannot accept changes; use the letter a to specify all releases. Substitute %M% keyword with module `name`. Create a null delta from which to branch. Substitute %Q% keyword with `string`.

  t `type`

    Substitute %Y% keyword with module `type`.

  v[`prog`]

    Force delta command to prompt for modification request numbers as the reason for creating a delta. Run program file `prog` to check for valid numbers.

-e[`user`|`groupid`]

  Permission to make deltas is denied to each `user` or `groupid`.

-f`flag`

  Set `flag` (see -d above).

-h

  Check an existing SCCS file for possible corruption.

-i[`file`]

  Create a new SCCS file using the contents of `file` as the initial delta. If `file` is omitted, use standard input.

-m[`list`]

  Insert `list` of modification request numbers as the reason for creating the file.

-n

  Create a new SCCS file that is empty.

-r`n`.`n`

  Set initial delta to release number `n`.`n`. Default is 1.1. Must be used with -i.

-t[`file`]

  Replace SCCS file description with contents of `file`. If `file` is missing, the existing description is deleted.

-y[`text`]

  Insert `text` as comment for initial delta (valid only with -i or -n).

-z

  Recompute the SCCS file checksum and store in first line.

17.5 Alphabetical Summary of SCCS Commands |  | Reference: cdc